# $Id: PKGBUILD 56452 2011-10-07 10:03:02Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=perl-object-event
pkgver=1.23
pkgrel=1
pkgdesc="Perl/CPAN Module Object::Event"
arch=(any)
url="http://search.cpan.org/dist/Object-Event/"
license=("GPL" "PerlArtistic")
depends=(perl)
source=("http://search.cpan.org/CPAN/authors/id/E/EL/ELMEX/Object-Event-$pkgver.tar.gz")
md5sums=('2b6eef6de22cc232cef4f134e687a462')

build() {
  cd $srcdir/Object-Event-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
